package JavaTest.polymorphic.dynamic;

public class B extends A{
    public int i = 20;
//    public int sum(){
//        return getI()+20;
//    }
    public int sum1(){
        return i+10;
    }
    public int getI(){
        return i;
    }
}
